using System;
using System.Collections.Generic;
using System.Text;
using flickr.api.communication;

namespace flickr.api
{
    class Interestingness : FlickrObject
    {
        public Interestingness():base(){}
        public Interestingness(FlickrConnection connection) : base(connection){}
        
        public Photos getList(DateTime date, PhotoSearchExtras extras, int perPage, int page)
        {
            FlickrRequest request = CreateRequest();
            request.AddParameter(FlickrParameterType.DatesTaken, date);
            request.AddParameter(FlickrParameterType.Extras, extras);
            request.AddParameter(FlickrParameterType.PerPage, perPage);
            request.AddParameter(FlickrParameterType.Page, page);

            return Send(request).Photos;
        }
    }
}
